﻿namespace WeWork.Model
{
    /// <summary>
    /// 待办消息
    /// </summary>
    public class ChatTodo : MsgChatRoomBase
    {
        /*
        {
            "msgid":"5935786683775673543_1603877328",
            "action":"send",
            "from":"ken",
            "tolist":["icef","test"],
            "roomid":"wr2vOpDgAAN4zVWKbS",
            "msgtime":1603877328914,
            "msgtype":"todo",
            "todo":{
                "title":"夕会",
                "content":""
            }
        }
        */
        /// <summary>
        /// 消息内容
        /// </summary>
        public TodoInfo todo { set; get; }
    }

    public class TodoInfo
    {
        /// <summary>
        /// 会议主题。String类型
        /// </summary>
        public string title { set; get; }
        /// <summary>
        /// 会议地址。String类型
        /// </summary>
        public string content { set; get; }
    }
}
